<template>
  <el-drawer v-model="drawer" :with-header="false" size="50%" @close="close">
    <history-bpmn v-model:instanceId="props.instanceId"></history-bpmn>
  </el-drawer>
</template>
<script setup lang="ts">
  import { ref } from 'vue'
  const props = defineProps({
    instanceId: {
      type: String,
      required: true
    }
  })
  const drawer = ref(false)
  const emits = defineEmits(['update:drawer'])
  const close = () => {
    emits('update:drawer', false)
  }
</script>
<style scoped lang="scss"></style>
